a homomorphism or linear map is a function that preserves addition and scalar multiplication
Note that an isomorphism is a bijective homomorphism
Example 8.1
The left is a homomorphism and the right is not: (xy)h2x−3y(xy)g2x−3y+1 h respects addition and scalar multiplication: h((rx1+sx2ry1+sy2))=2(rx1+sx2)−3(ry1+sy2)=r(2x1−3y1)+s(2x2−3y2)=r⋅h((x1y1))+s⋅h((x2y2))
The right does not respect addition g((x1+x2y1+y2))=2(x1+x2)−3(y1+y2)+1=g((x1y1))+g((x2y2))=2(x1+x2)−3(y1+y2)+2
A homomorphism sends the zero vector to the zero vector
The following are equivalent for a map f:V→W between vector spaces. (c1,c2,...,cn∈R,v1,v2,...,vn∈V)
The trace of an n×n square matrix Tr:Mn×n→R is the sum of the diagonal entries from the top left to bottom right, and is also a homomorphism Tr((acbd))=a+d
Let B=⟨β1,...,βn⟩ be a basis or vector space V. A function f:B→W can be extended linearly to a function f^:V→W if for all v=c1β1+⋯+cnβn∈V, the action of the map is f^(v)=c1⋅f(β1)+⋯+cn⋅f(βn)
Example 8.2
Suppose we want a rotation map tθ:R2→R2 rotating all vectors in the plane by θ. We can take a basis of the domain, say E2 and find where they map to: (10)↦(cosθsinθ)(01)↦(−sinθcosθ)
This can therefore be linearly extended to: tθ((xy))=x⋅(cosθsinθ)+y⋅(−sinθcosθ)=(xcosθ−ysinθxsinθ+ycosθ)
Define the evaluation mapeval3:P2→R by specifying an action on the basis of quadratic polynomials B=⟨x2,x,1⟩ x2eval39xeval331eval31
then extending linearly: eval3(ax2+bx+c)=9a+3b+c
We see eval3(p(x)) is equivalent to p(3)
Linear Transformation
A linear transformation is a linear map from a space to itself t:V→V
For example, the identity map id:V→V maps v↦v (easy to check)
L(V,W) denotes the set of linear functions from V to W, and is a subspace of the set of all functions from V to W
Proof
The set is nonempty because it contains the zero homomorphism Z:V→W, Z(v)=0W. To show it is a subspace it suffices to show it is closed under addition and scalar multiplication.
Let f,g:V→W be linear functions. Then (f+g)(c1v1+c2v2)===f(c1v1+c2v2)+g(c1v1+c2v2)c1f(v1)+c2f(v2)+c1g(v1)+c2g(v2)c1(f+g)(v1)+c2(f+g)(v2)
so addition is preserved and since (r⋅f)(c1v1+c2v2)==r(c1f(v1)+c2f(v2))c1(r⋅f)(v1)+c2(r⋅f)(v2)
scalar multiplication is preserved. Hence, this space is a subspace.
Thus, we only need consider the action on the basis of V and W.
Example 8.3
Consider L(R,R2). A linear map in this space t∈L(R,R2) is determined by its action on the basis BR=1BR2=⟨(10),(01)⟩
So every function is determined by c1,c2 here: 1tc1(10)+c2(01)
Thus L(R,R2) is a 2-dimensional vector space.
Range Space
Let h:V→W be a homomorphism. Then the image of a subspace S of V is a subspace of W.
Proof
Let h(S) be the image of subspace S. It is nonempty because S is nonempty. It suffices to show h(S) is closed under addition and scalar multiplication. For c1,c2∈R and h(s1),h(s2)∈h(S) c1h(s1)+c2h(s2)=h(c1s1+c2s2)∈h(S)
because it is the image of c1s+c2s2∈S.
The range space of a homomorphism h:V→W is R(h)=h(V)={h(v)∣v∈V}
The dimension of the range space is the rank
Example 8.4
Consider the linear map h:M2×2→R2 (1cbd)h(a+b2a+2b)
The range space is the line through the origin {t(12)∣t∈R}
Every member of that set is the image of a 2×2 matrix (t2t)=h((t000))
The space is one dimensional, so the rank is 1.
Example 8.5
The projection map π:R3→R2 ⎝⎜⎛xyz⎠⎟⎞π(xy)
has the range space {t(10)+s(01)∣t,s∈R}
Homomorphisms are like isomorphisms except the maps need not be bijective. Dropping the onto condition has no effect, since any map h:V→W are already onto R(h).
But dropping the one-to-one condition means we can have multiple v∈V that make h(v)=w for w∈W.
In other words, the inverse imageh−1(w)={v∣h(v∈W)=w} can have multiple elements.
Example 8.6
Consider the linear projection map π:R2→R π((xy))=x
The inverse image π−1(c) is a set of vectors ((cy)∣y∈R2)
The endpoints make up the line x=c
Homomorphisms organize the domain into inverse images that reflects the structure of the range. The linear properties are still preserved.
Example 8.7
Let h:P2→R2 be ax2+bx+c↦(bb)
Consider three output vectors such that w1+w2=w3, for example w1=(11)w2=(−1−1)w3=(00)
The inverse images are respectively h−1(w1)={a1x2+1x+c1∣a1,c1∈R}h−1(w2)={a2x2−1x+c2∣a2,c2∈R}h−1(w3)={a3x2+0x+c3∣a3,c3∈R}
Since this is a homomorphism, we can take any v1∈h−1(w1) and add it to v2∈h−1(w2) to get an element v3∈h−1(w3)
Null space
Each of the elements of the inverse images are just shifted, so consider h−1(0)
The null space or kernel of a linear map h:V→W is the inverse image of 0W Ker(h)=N(h)=h−1(0W)={v∈V∣h(v)=0W}
The dimension of the null space is the nullity
Note
The trivial subspace of W is the set{0W}, not just vW, so we may write the null space as h−1({0W}), however we have defined this to be equivalent to h−1(0W) and that's easier to write so we just use that.
Example 8.8
Consider the derivative map d/dx:P2→P1. The nullspace is a subset of the domain N(d/dx)={ax2+bx+c∣2a+b=0} 2a+b=0x+0 iff a=b=0, which means the nullspace is equal to N(d/dx)={ax2+bx+c∣a=b=0,c∈R}={c∣c∈R}
The nullity is 1.
Example 8.9
Consider the homomorphism f:M2×2→R2 f((acbd))=(a+bc+d)
The nullspace is N(f)=={(acbd)∣∣∣∣∣a+b=0 and c+d=0}{(ab−a−b)∣∣∣∣∣a,b∈R}
The nullity is 2.
Rank Plus Nullity
A linear map's rank plus its nullity equals the dimension of the domain
Proof
Let h:V→W be a linear map and let BN=⟨β1,...,βk⟩ be the basis for the null space. The size of this is the nullity. Since the nullspace is a subspace, the basis BN can be expanded to a basis BV=⟨β1,...,βk,βk+1,...,βn⟩ for the domain V. The size of BV is the dimension of the domain. We will show that BR=⟨h(βk+1),...,h(βn)⟩ is the basis of the range space.
First we check that BR is linearly independent. 0W==ck+1h(βk+1)+⋯+cnh(βn)h(ck+1βk+1+⋯+cnh(βn))
Thus ck+1βk+1+⋯+cnβn is in the nullspace of h. Therefore, we can express it as a linear combination of BN c1β1+⋯+ckβk=ck+1βk+1+⋯+cnβn
Letting ci′=−ci for i=k+1,...,n, this can be rearranged to c1β1+⋯+ckβk+ck+1′βk+1+⋯+cn′βn=0
This is a linear combination of BV, which means the only solution is ci=0 for i=1,...,n. Therefore, BR is linearly independent.
Next, we show that BR spans the range space.
Consider a member of the range space h(v).
Express v as a linear combination of members of BV and apply the map: v=c1β1+⋯+ckβk+ck+1βk+1+⋯+cnβnh(v)=c1h(β1)+⋯+ckh(βk)+ck+1h(βk+1)+⋯+cnh(βn)
Since β1,...,βk are in the nullspace, h(β1),...,h(βk)=0, so h(v)=0+ck+1βk+1+⋯+cnβn
Thus, we have h(v) as a linear combination of members of BR, so BR spans the range space.
Example 8.10
The projection π:R3→R2 ⎝⎜⎛abc⎠⎟⎞↦(ab)
takes a 3 dimensional domain to a 2 dimensional range, so the nullspace is 1 dimensional, i.e. the z-axis
Under a linear map, the image of a linearly dependent set is linearly dependent.
Proof
Suppose c1v1+⋯+cnvn=0V with some ci=0.
Apply h to both sides: h(c1v1+⋯+cnvn)=c1h(v1)+⋯+cnh(vn) and h(0V)=0W.
So we have c1h(v1)+⋯+cnh(vn)=0W with some ci=0
One-to-One Homomorphisms
For a n-dimensional vector space V, the following statements are equivalent about h:V→W
h is one-to-one
h has an inverse from its range to its domain that is a linear map
N(h)={0}, i.e. nullity(h)=0
rank(h)=n
if ⟨β1,...,βn⟩ is a basis for V then ⟨h(β1),...,h(βn)⟩ is a basis for R(h)
Proof
First, we prove (1)⟹(2)
Suppose h is one-to-one. It must have an inverse h−1:R(h)→V. Taking a linear combination of two elements of R(h), we have c1h(v1)+c2h(v2). Taking the inverse: h−1(c1h(v1)+c2h(v2))===h−1(h(c1v1+c2v2))c1v1+c2v2c1h−1(h(v1))+c2h−1(h(v2))
Thus h−1 is a linear map. (2)⟹(1) because h is a bijection from V to R(h).
It remains to show that (1)⟹(3)⟹(4)⟹(5)⟹(2) (1)⟹(3) because any homomorphism maps 0V to 0W, but if h is one-to-one, only0V maps to 0W.
For (3)⟹(4), since rank plus nullity equals dimension and nulltiy is 0, rank must equal dimension, i.e. rank(h)=n
For (4)⟹(5), we must show that ⟨h(β1),...,h(βn)⟩ spans the range space, since by assumption the dimension is n, implying these are linearly independent.
Consider h(v)∈R(h). Expressing v in terms of the basis of V gives h(v)=h(c1β1+⋯+cnβn)=c1h(β1)+⋯+cnh(βn) as desired.
Finally for (5)⟹(2), for every w∈R(h), there is a unique representation w=c1h(β1)+⋯+cnh(βn). Define a map from R(h) to V by w↦c1β1+⋯+cnβn
This is linear and is the inverse of h as desired.
Transformations of R2
Lines through the origin map to lines through the origin under a homomorphism
Explanation
A line through the origin is a set {r⋅v∣r∈R}
Under a linear transformation t:Rn→Rn r⋅vtt(r⋅v)=r⋅t(v)
So the range space is {s⋅t(v)∣s∈R}, a line through the origin
A map has twice the effect on 2v, three times the effect on 3v, n times the effect on n⋅v
Any vector in the plane is in some line through the origin, so we only need to understand what a transformation t:R2→R2 does to a line through the origin. But from above, we only need to understand what it does to a single nonzero vector in the line.
A natural set of one nonzero vector through every line is the upper half unit circle
A vector in the set {(xy)=(cos(t)sin(t))∣0≤t<π} can be dilated, translated, and rotated to any other vector with a predictable effect under t